package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.req.AttrGroupRelationReqVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author lichen
 * @email 78085201@qq.com
 * @date 2020-10-15 18:20:39
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 删除属性关系表
     * @param relationEntityList
     */
    void deleteBatchRelation(List<AttrAttrgroupRelationEntity> relationEntityList);

    /**
     * 新增属性关系表关联
     * @param reqVos
     */
    void saveBatchRelation(List<AttrGroupRelationReqVo> reqVos);
}

